<extend name="Console:index" />
<block name="main">

        <div>
            <ol class="breadcrumb">
                <li >设置</li>
                <li class="active">修改密码</li>
            </ol>
        </div>
        <div>
            <form class="form-horizontal" action="{:U('UserSet/index')}" method="post">
                <input name="uid" type="hidden" value="{$uid}"/>

                <div class="form-group">
                    <label for="inputtext8" class=" col-sm-offset-2 col-sm-2 control-label">旧&nbsp;密&nbsp;码:</label>
                    <div class="col-sm-4">
                        <input type="password" class="form-control"  id="inputtext8" name="old_pw" required >
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputtext180" class=" col-sm-offset-2 col-sm-2 control-label">新&nbsp;密&nbsp;码:</label>
                    <div class="col-sm-4">
                        <input type="password" class="form-control"  id="inputtext180" name="pw" required >
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputtext800" class=" col-sm-offset-2 col-sm-2 control-label">再次输入:</label>
                    <div class="col-sm-4">
                        <input type="password" class="form-control"  id="inputtext800" name="repw" required >
                    </div>
                </div>

                <input type="reset" value="重置" class="btn btn-warning col-sm-offset-4 col-sm-1"/>
                <input type="submit" value="保存" class="btn btn-warning  col-sm-offset-1 col-sm-1"/>

            </form>
        </div>

    <div style="clear: both"></div>

    <div>

        <form class="form-horizontal" action="{:U('UserSet/changePage')}" method="post">
            <input name="id" type="hidden" value="{$uid}"/>
            <fieldset>
                <div  >
                    <legend class="">设置分页数</legend>
                </div>
                <div class="control-group">

                    <!-- Text input-->
                    <label class="control-label" >旧分页数</label>
                    <div class="controls">
                        <input  class="input-xlarge" type="text" disabled value="{$page}">
                        <p class="help-block"></p>
                    </div>
                </div>

                <div class="control-group">

                    <!-- Text input-->
                    <label class="control-label" >新分页数</label>
                    <div class="controls">
                        <input placeholder="请输入新分页数" class="input-xlarge" type="text" name="npage">
                        <p class="help-block">分页数范围为10-500;</p>
                    </div>
                </div>

                <div class="control-group">

                    <div class="controls">
                        <button class="btn btn-success">保存分页数</button>
                    </div>
                </div>
            </fieldset>
        </form>

    </div>


</block>